package com.tongandtang.bg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tongandtang.bg.entity.Perm;
import com.tongandtang.bg.entity.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tong
 * @since 2019-12-16
 */
public interface IUserService extends IService<User> {

    List<Perm> getUserPerms(Long userId);

    User getUserByPhone(String phone);

    User getUserByEmail(String email);

}
